package com.taobao.api.domain;

import java.util.List;
import com.taobao.api.internal.mapping.ApiField;
import com.taobao.api.internal.mapping.ApiListField;
import com.taobao.api.TaobaoObject;


/**
 * CP下的网点信息
 *
 * @author top auto create
 * @since 1.0, null
 */
public class WaybillBranchAccount extends TaobaoObject {

	private static final long serialVersionUID = 8644796633974811266L;

	/**
	 * 已用单数
	 */
	@ApiField("allocated_quantity")
	private Long allocatedQuantity;

	/**
	 * 网点ID
	 */
	@ApiField("branch_code")
	private String branchCode;

	/**
	 * 网点名称
	 */
	@ApiField("branch_name")
	private String branchName;

	/**
	 * 取消的面对总数
	 */
	@ApiField("cancel_quantity")
	private Long cancelQuantity;

	/**
	 * 物流服务商ID
	 */
	@ApiField("cp_code")
	private String cpCode;

	/**
	 * 已经打印的面单总数
	 */
	@ApiField("print_quantity")
	private Long printQuantity;

	/**
	 * 可用单数
	 */
	@ApiField("quantity")
	private Long quantity;

	/**
	 * 商家ID
	 */
	@ApiField("seller_id")
	private Long sellerId;

	/**
	 * 当前网点下的发货地址
	 */
	@ApiListField("shipp_address_cols")
	@ApiField("waybill_address")
	private List<WaybillAddress> shippAddressCols;


	public Long getAllocatedQuantity() {
		return this.allocatedQuantity;
	}
	public void setAllocatedQuantity(Long allocatedQuantity) {
		this.allocatedQuantity = allocatedQuantity;
	}

	public String getBranchCode() {
		return this.branchCode;
	}
	public void setBranchCode(String branchCode) {
		this.branchCode = branchCode;
	}

	public String getBranchName() {
		return this.branchName;
	}
	public void setBranchName(String branchName) {
		this.branchName = branchName;
	}

	public Long getCancelQuantity() {
		return this.cancelQuantity;
	}
	public void setCancelQuantity(Long cancelQuantity) {
		this.cancelQuantity = cancelQuantity;
	}

	public String getCpCode() {
		return this.cpCode;
	}
	public void setCpCode(String cpCode) {
		this.cpCode = cpCode;
	}

	public Long getPrintQuantity() {
		return this.printQuantity;
	}
	public void setPrintQuantity(Long printQuantity) {
		this.printQuantity = printQuantity;
	}

	public Long getQuantity() {
		return this.quantity;
	}
	public void setQuantity(Long quantity) {
		this.quantity = quantity;
	}

	public Long getSellerId() {
		return this.sellerId;
	}
	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

	public List<WaybillAddress> getShippAddressCols() {
		return this.shippAddressCols;
	}
	public void setShippAddressCols(List<WaybillAddress> shippAddressCols) {
		this.shippAddressCols = shippAddressCols;
	}

}
